home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / DRIVER.CAB / sml1650.gpd < prev    next >
Encoding:
Text File  |  2003-02-21  |  50.4 KB  |  1,745 lines

  1. *%%
  2. *%% Samsung ML-1650 PCL6
  3. *%%
  4. *%% Copyright 1998 - 1999, Microsoft Corp.
  5. *%% All Rights Reserved.
  6. *%%
  7.  
  8. *%%
  9. *%% Global Entries
  10. *%%
  11. *GPDSpecVersion: "1.0"
  12. *GPDFileVersion: "1.0"
  13.  
  14. *%%% ======================
  15. *%%% Include standard GPD files
  16. *%%% =====================
  17. *Include: "StdNames.gpd"
  18. *Include: "ttfsub.gpd"
  19.  
  20. *%%
  21. *%% Model Specific Global Entries
  22. *%%
  23. *GPDFileName: "sml1650.gpd"
  24. *ModelName:   "Samsung ML-1650 PCL6"
  25. *MaxCopies: 32767
  26. *PrintRate: 16
  27. *PrintRatePPM: 16
  28. *PrintRateUnit: PPM
  29. *%%% ======================
  30. *%%% Macros
  31. *%%% ======================
  32. *Include: "pjl.gpd"
  33. *Include: "p6font.gpd"
  34. *Include: "p6disp.gpd"
  35.  
  36. *%%% ======================
  37. *%%% Main
  38. *%%% ======================
  39. *Include: "pclxl.gpd"
  40.  
  41. *%%% ======================
  42. *%%% JOB_SETUP, PAGE_FINISH
  43. *%%% , JOB_FINISH
  44. *%%% ======================
  45. *Macros: PCLXLCommand
  46. {
  47. *%%% ---------------------------------------------------------------------------
  48. *%%% PCL XL Stream Header
  49. *%%% ---------------------------------------------------------------------------
  50. PCLXL_StreamHeader: ") HP-PCL XL;1;1;"
  51. +                   "Comment Copyright(c) 1999 Microsoft Corporation<0A>"
  52.  
  53. *%%% ---------------------------------------------------------------------------
  54. *%%% BeginSession
  55. *%%%     Measure(ubyte) & UnitsPerMeasure(uint16_xy) & {ErrorReport(ubyte)}
  56. *%%% ---------------------------------------------------------------------------
  57. PCLXL_BeginSession1200: =uint16_xy "<b004b004>" =attr_ubyte =UnitsPerMeasure =ubyte
  58. + =eInch =attr_ubyte =Measure =ubyte =eBackChAndErrPage =attr_ubyte =ErrorReport =BeginSession
  59.  
  60. PCLXL_BeginSession600: =uint16_xy "<58025802>" =attr_ubyte =UnitsPerMeasure =ubyte
  61. + =eInch =attr_ubyte =Measure =ubyte =eBackChAndErrPage =attr_ubyte =ErrorReport =BeginSession
  62.  
  63. PCLXL_BeginSession300: =uint16_xy "<2c012c01>" =attr_ubyte =UnitsPerMeasure =ubyte
  64. + =eInch =attr_ubyte =Measure =ubyte =eBackChAndErrPage =attr_ubyte =ErrorReport =BeginSession
  65.  
  66. Width: %m{ RasterDataWidthInBytes }
  67. Height: %m{ RasterDataHeightInPixels }
  68. DataSize: %l{ NumOfDataBytes }
  69. FntHeight: %l{ FontHeight*600/TextYRes }
  70. FntNextGlyph: %l{ NextGlyph }
  71.  
  72. *%%% ---------------------------------------------------------------------------
  73. *%%% BeginRaster
  74. *%%%     ColorDepth(ubyte) & ColorMapping(ubyte) & SourceWidth(uint16) &
  75. *%%%     SourceWidth(uint16) & SourceHeight(uint16)
  76. *%%% ---------------------------------------------------------------------------
  77. PCLXL_CmdBeginRaster: =ubyte =e1Bit =attr_ubyte =ColorDepth
  78. +                     =ubyte =eDirectPixel =attr_ubyte =ColorMapping
  79. +                     =uint16 =Width =attr_ubyte =SourceWidth
  80. +                     =uint16 =Height =attr_ubyte =SourceHeight
  81. +                     =uint16_xy =Width =Height =attr_ubyte =DestinationSize
  82. +                     =BeginImage
  83. +                     =ubyte =eNoCompression =attr_ubyte =CompressMode
  84. +                     =ubyte "<00>" =attr_ubyte =StartLine
  85. +                     =uint16 =Height =attr_ubyte =BlockHeight
  86. +                     =ReadImage
  87.  
  88. PCLXL_CmdSendBlockData: =dataLength =DataSize "<0000>"
  89.  
  90. DestinationX: %l{DestX}
  91. DestinationY: %l{DestY}
  92. DestinationXRel: %l{DestYRel}
  93. DestinationYRel: %l{DestXRel}
  94. NumOfCopy: %l{NumOfCopies}
  95. PrintDir: %l{PrintDirInCCDegrees}
  96. FntName: =ubyte_array =uint16 "<1000>" "MS PCLXLFont " %3d{CurrentFontID}
  97. }
  98.  
  99. *%%% ======================
  100. *%%% Features and Options
  101. *%%% ======================
  102.  
  103. *%% Orientation
  104. *Feature: Orientation
  105. {
  106.     *rcNameID: =ORIENTATION_DISPLAY
  107.     *DefaultOption: PORTRAIT
  108.     *Option: PORTRAIT
  109.     {
  110.         *rcNameID: =PORTRAIT_DISPLAY
  111.     }
  112.     *Option: LANDSCAPE_CC90
  113.     {
  114.         *rcNameID: =LANDSCAPE_DISPLAY
  115.     }
  116. }
  117.  
  118. *%%% ======================
  119. *%%% JOB_SETUP
  120. *%%% ======================
  121.  
  122. *%%% ======================
  123. *%%% JOB_SETUP.1
  124. *%%% START PLJ JOB
  125. *%%% PAGEPROTECT
  126. *%%% TIMEOUT
  127. *Feature: PageProtect
  128. {
  129.     *rcNameID: =PAGE_PROTECTION_DISPLAY
  130.     *DefaultOption: OFF
  131.     *Option: ON
  132.     {
  133.         *rcNameID: =ON_DISPLAY
  134.         *Command: CmdSelect
  135.         {
  136.             *Order: JOB_SETUP.1
  137.             *Cmd: =PJL_STARTJOB =PJL_COMMENT =PJL_PAGEPROTECT_ON =PJL_TIMEOUT_90
  138.         }
  139.     }
  140.     *Option: OFF
  141.     {
  142.         *rcNameID: =OFF_DISPLAY
  143.         *Command: CmdSelect
  144.         {
  145.             *Order: JOB_SETUP.1
  146.             *Cmd: =PJL_STARTJOB =PJL_COMMENT =PJL_PAGEPROTECT_ON =PJL_TIMEOUT_90
  147.         }
  148.     }
  149. }
  150. *%%% ======================
  151. *%%% JOB_SETUP.2
  152. *%%% ECONOMODE
  153. *Feature: Economode
  154. {
  155.     *rcNameID: =ECONOMODE_DISPLAY
  156.     *DefaultOption: Option1
  157.     *Option: Option1
  158.     {
  159.         *rcNameID: =ECONOMODE_DEFAULT_DISPLAY
  160.     }
  161.     *Option: Option2
  162.     {
  163.         *rcNameID: =ECONOMODE_OFF_DISPLAY
  164.         *Command: CmdSelect
  165.         {
  166.             *Order: JOB_SETUP.2
  167.             *Cmd: =PJL_ECONOMODE_OFF
  168.         }
  169.     }
  170.     *Option: Option3
  171.     {
  172.         *rcNameID: =ECONOMODE_ON_DISPLAY
  173.         *Command: CmdSelect
  174.         {
  175.             *Order: JOB_SETUP.2
  176.             *Cmd: =PJL_ECONOMODE_ON
  177.         }
  178.     }
  179. }
  180.  
  181. *%%% ======================
  182. *%%% JOB_SETUP.3
  183. *%%% RET
  184. *Feature: RET
  185. {
  186.     *rcNameID: =PRINT_QUALITY
  187.     *DefaultOption: Option1
  188.     *Option: Option1
  189.     {
  190.         *rcNameID: =PRINT_QUALITY_DEFAULT
  191.     }
  192.     *Option: Option2
  193.     {
  194.         *rcNameID: =PRINT_QUALITY_LIGHT
  195.         *Command: CmdSelect
  196.         {
  197.             *Order: JOB_SETUP.3
  198.             *Cmd: =PJL_RET_LIGHT
  199.         }
  200.     }
  201.     *Option: Option3
  202.     {
  203.         *rcNameID: =PRINT_QUALITY_MEDIUM
  204.         *Command: CmdSelect
  205.         {
  206.             *Order: JOB_SETUP.3
  207.             *Cmd: =PJL_RET_MEDIUM
  208.         }
  209.     }
  210.     *Option: Option4
  211.     {
  212.         *rcNameID: =PRINT_QUALITY_DARK
  213.         *Command: CmdSelect
  214.         {
  215.             *Order: JOB_SETUP.3
  216.             *Cmd: =PJL_RET_DARK
  217.         }
  218.     }
  219.     *Option: Option5
  220.     {
  221.         *rcNameID: =PRINT_QUALITY_OFF
  222.         *Command: CmdSelect
  223.         {
  224.             *Order: JOB_SETUP.3
  225.             *Cmd: =PJL_RET_OFF
  226.         }
  227.     }
  228. }
  229.  
  230. *%%% ======================
  231. *%%% JOB_SETUP.4
  232. *%%% Collate
  233. *Feature: Collate
  234. {
  235.     *rcNameID: =COLLATOR_DISPLAY *% this shouldn't appear...
  236.  
  237.     *DefaultOption: OFF
  238.     *Option: ON
  239.     {
  240.         *rcNameID: =ON_DISPLAY
  241.        *switch: PrinterHardDisk
  242.         {
  243.            *case: FALSE
  244.      {
  245.  
  246.        *Switch:  Memory  *% need 16MB to collate w/o harddisk
  247.         {
  248.               *Case: 4MB
  249.                  {
  250.              *Command: CmdSelect
  251.                             {
  252.                               *Order: JOB_SETUP.4
  253.                               *Cmd: =PJL_COLLATE_OFF
  254.                              }
  255.            }
  256.                            *Case: 8MB
  257.            {
  258.                  *Command: CmdSelect
  259.                            {
  260.                               *Order: JOB_SETUP.4
  261.                               *Cmd: =PJL_COLLATE_OFF
  262.                           }
  263.                        }
  264.                           *Case: 12MB
  265.            {
  266.                  *Command: CmdSelect
  267.                            {
  268.                               *Order: JOB_SETUP.4
  269.                               *Cmd: =PJL_COLLATE_OFF
  270.                           }
  271.                        }
  272.         *default
  273.            {
  274.                  *Command: CmdSelect
  275.                            {
  276.                               *Order: JOB_SETUP.4
  277.                               *Cmd: =PJL_COLLATE_ON
  278.                           }
  279.                        }
  280.          }
  281.              }
  282.             *case: TRUE
  283.             {
  284.                 *Command: CmdSelect
  285.                 {
  286.                     *Order: JOB_SETUP.4
  287.                     *Cmd: =PJL_COLLATE_ON
  288.                 }
  289.             }
  290.         }
  291.     }
  292.     *Option: OFF
  293.     {
  294.         *rcNameID:=OFF_DISPLAY
  295.         *Command: CmdSelect
  296.         {
  297.             *Order: JOB_SETUP.4
  298.             *Cmd: =PJL_COLLATE_OFF
  299.         }
  300.     }
  301. }
  302.  
  303. *Feature: JobRetention
  304. {
  305.     *rcNameID: =JOB_RETENTION_DISPLAY *% Job Retention
  306.     *DefaultOption: Option1
  307.     *Option: Option1
  308.     {
  309.         *rcNameID: =OFF_DISPLAY
  310.         *Command: CmdSelect
  311.         {
  312.             *Order: JOB_SETUP.3
  313.             *Cmd: "@PJL SET HOLD=OFF<0A>"
  314.         }
  315.     }
  316.     *Option: Option2
  317.     {
  318.         *rcNameID: =QUICK_COPY_DISPLAY
  319.         *Command: CmdSelect
  320.         {
  321.             *Order: JOB_SETUP.3
  322.             *Cmd: "@PJL SET HOLD=ON<0A>"
  323.         }
  324.     }
  325.     *Option: Option3
  326.     {
  327.         *rcNameID: =PROOF_HOLD_DISPLAY
  328.         *Command: CmdSelect
  329.         {
  330.            *Order: JOB_SETUP.3
  331.             *Cmd: "@PJL SET HOLD=PROOF<0A>"
  332.         }
  333.     }
  334.     *Option: Option4
  335.     {
  336.         *rcNameID: =STORE_JOB_DISPLAY
  337.         *Command: CmdSelect
  338.         {
  339.             *Order: JOB_SETUP.3
  340.             *Cmd: "@PJL SET HOLD=STORE<0A>"
  341.          }
  342.       }
  343. }
  344.  
  345. *Feature: JobRetentionUserID
  346. {
  347.     *rcNameID: =JOB_RETENTION_USERID_DISPLAY *%"Job Retention User ID"
  348.     *DefaultOption: Option1
  349.     *Option: Option1
  350.     {
  351.         *Name: "1"
  352.         *Command: CmdSelect
  353.         {
  354.             *Order: JOB_SETUP.3
  355.             *Cmd: "@PJL SET USERNAME=<22>1<22><0A>"
  356.         }
  357.     }
  358.     *Option: Option2
  359.     {
  360.         *Name: "2"
  361.         *Command: CmdSelect
  362.         {
  363.             *Order: JOB_SETUP.3
  364.             *Cmd: "@PJL SET USERNAME=<22>2<22><0A>"
  365.         }
  366.     }
  367.     *Option: Option3
  368.     {
  369.         *Name: "3"
  370.         *Command: CmdSelect
  371.         {
  372.             *Order: JOB_SETUP.3
  373.             *Cmd: "@PJL SET USERNAME=<22>3<22><0A>"
  374.         }
  375.     }
  376.     *Option: Option4
  377.     {
  378.         *Name: "4"
  379.         *Command: CmdSelect
  380.         {
  381.             *Order: JOB_SETUP.3
  382.             *Cmd: "@PJL SET USERNAME=<22>4<22><0A>"
  383.         }
  384.     }
  385.     *Option: Option5
  386.     {
  387.         *Name: "5"
  388.         *Command: CmdSelect
  389.         {
  390.             *Order: JOB_SETUP.3
  391.             *Cmd: "@PJL SET USERNAME=<22>5<22><0A>"
  392.         }
  393.     }
  394.     *Option: Option6
  395.     {
  396.         *Name: "6"
  397.         *Command: CmdSelect
  398.         {
  399.             *Order: JOB_SETUP.3
  400.             *Cmd: "@PJL SET USERNAME=<22>6<22><0A>"
  401.         }
  402.     }
  403.     *Option: Option7
  404.     {
  405.         *Name: "7"
  406.         *Command: CmdSelect
  407.         {
  408.             *Order: JOB_SETUP.3
  409.             *Cmd: "@PJL SET USERNAME=<22>7<22><0A>"
  410.         }
  411.     }
  412.     *Option: Option8
  413.     {
  414.         *Name: "8"
  415.         *Command: CmdSelect
  416.         {
  417.             *Order: JOB_SETUP.3
  418.             *Cmd: "@PJL SET USERNAME=<22>8<22><0A>"
  419.         }
  420.     }
  421.     *Option: Option9
  422.     {
  423.         *Name: "9"
  424.         *Command: CmdSelect
  425.         {
  426.             *Order: JOB_SETUP.3
  427.             *Cmd: "@PJL SET USERNAME=<22>9<22><0A>"
  428.         }
  429.     }
  430.     *Option: Option10
  431.     {
  432.         *Name: "10"
  433.         *Command: CmdSelect
  434.         {
  435.             *Order: JOB_SETUP.3
  436.             *Cmd: "@PJL SET USERNAME=<22>10<22><0A>"
  437.         }
  438.     }
  439.     *Option: Option11
  440.     {
  441.         *Name: "11"
  442.         *Command: CmdSelect
  443.         {
  444.             *Order: JOB_SETUP.3
  445.             *Cmd: "@PJL SET USERNAME=<22>11<22><0A>"
  446.         }
  447.     }
  448.     *Option: Option12
  449.     {
  450.         *Name: "12"
  451.         *Command: CmdSelect
  452.         {
  453.             *Order: JOB_SETUP.3
  454.             *Cmd: "@PJL SET USERNAME=<22>12<22><0A>"
  455.         }
  456.     }
  457.     *Option: Option13
  458.     {
  459.         *Name: "13"
  460.         *Command: CmdSelect
  461.         {
  462.             *Order: JOB_SETUP.3
  463.             *Cmd: "@PJL SET USERNAME=<22>13<22><0A>"
  464.         }
  465.     }
  466.     *Option: Option14
  467.     {
  468.         *Name: "14"
  469.         *Command: CmdSelect
  470.         {
  471.             *Order: JOB_SETUP.3
  472.             *Cmd: "@PJL SET USERNAME=<22>14<22><0A>"
  473.         }
  474.     }
  475.     *Option: Option15
  476.     {
  477.         *Name: "15"
  478.         *Command: CmdSelect
  479.         {
  480.             *Order: JOB_SETUP.3
  481.             *Cmd: "@PJL SET USERNAME=<22>15<22><0A>"
  482.         }
  483.     }
  484.     *Option: Option16
  485.     {
  486.         *Name: "16"
  487.         *Command: CmdSelect
  488.         {
  489.             *Order: JOB_SETUP.3
  490.             *Cmd: "@PJL SET USERNAME=<22>16<22><0A>"
  491.         }
  492.     }
  493.     *Option: Option17
  494.     {
  495.         *Name: "17"
  496.         *Command: CmdSelect
  497.         {
  498.             *Order: JOB_SETUP.3
  499.             *Cmd: "@PJL SET USERNAME=<22>17<22><0A>"
  500.         }
  501.     }
  502.     *Option: Option18
  503.     {
  504.         *Name: "18"
  505.         *Command: CmdSelect
  506.         {
  507.             *Order: JOB_SETUP.3
  508.             *Cmd: "@PJL SET USERNAME=<22>18<22><0A>"
  509.         }
  510.     }
  511.     *Option: Option19
  512.     {
  513.         *Name: "19"
  514.         *Command: CmdSelect
  515.         {
  516.             *Order: JOB_SETUP.3
  517.             *Cmd: "@PJL SET USERNAME=<22>19<22><0A>"
  518.         }
  519.     }
  520.     *Option: Option20
  521.     {
  522.         *Name: "20"
  523.         *Command: CmdSelect
  524.         {
  525.             *Order: JOB_SETUP.3
  526.             *Cmd: "@PJL SET USERNAME=<22>20<22><0A>"
  527.         }
  528.     }
  529. }
  530.  
  531. *% constrain all but option 1 when no hard disk installed
  532. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetention.Option2)
  533. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetention.Option3)
  534. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetention.Option4)
  535.  
  536. *% constrain all but option 1 when no hard disk installed
  537. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option2)
  538. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option3)
  539. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option4)
  540. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option5)
  541. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option6)
  542. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option7)
  543. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option8)
  544. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option9)
  545. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option10)
  546. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option11)
  547. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option12)
  548. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option13)
  549. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option14)
  550. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option15)
  551. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option16)
  552. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option17)
  553. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option18)
  554. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option19)
  555. *InvalidCombination: LIST(PrinterHardDisk.FALSE,JobRetentionUserID.Option20)
  556.  
  557. *%%% ======================
  558. *%%% JOB_SETUP.5
  559. *%%%     RESOLUTION
  560. *%%%     ENTER LANGUAGE=PCLXL
  561. *%%%     PCL XL Stream Header
  562. *%%%     BeginSession
  563. *%%% CmdEndRaster
  564. *%%%     EndImage
  565. *%%% CmdSendBlockData
  566. *%%%     EndImage
  567. *Feature: Resolution
  568. {
  569.     *rcNameID: =RESOLUTION_DISPLAY
  570.     *DefaultOption: Option1
  571.  
  572.     *Option: Option1
  573.     {
  574.         *Name: "600 x 600 " =DOTS_PER_INCH
  575.         *DPI: PAIR(600, 600)
  576.         *TextDPI: PAIR(600, 600)
  577.         *MinStripBlankPixels: 32
  578.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  579.         *SpotDiameter: 100
  580.         *Command: CmdBeginRaster
  581.         {
  582.             *Cmd : =PCLXL_CmdBeginRaster
  583.         }
  584.  
  585.         *Command: CmdEndRaster { *Cmd : =EndImage }
  586.         *Command: CmdSendBlockData
  587.         {
  588.             *Cmd: =PCLXL_CmdSendBlockData
  589.         }
  590.  
  591.         *Command: CmdSelect
  592.         {
  593.             *Order: JOB_SETUP.5
  594.             *Cmd: =PJL_RESOLUTION_600 =PJL_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession600
  595.         }
  596.     }
  597.     *Option: Option2
  598.     {
  599.         *Name: "300 x 300 " =DOTS_PER_INCH
  600.         *DPI: PAIR(300, 300)
  601.         *TextDPI: PAIR(300, 300)
  602.         *MinStripBlankPixels: 32
  603.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  604.         *SpotDiameter: 100
  605.         *Command: CmdBeginRaster
  606.         {
  607.             *Cmd : =PCLXL_CmdBeginRaster
  608.         }
  609.  
  610.         *Command: CmdEndRaster { *Cmd : =EndImage }
  611.         *Command: CmdSendBlockData
  612.         {
  613.             *Cmd: =PCLXL_CmdSendBlockData
  614.         }
  615.  
  616.         *Command: CmdSelect
  617.         {
  618.             *Order: JOB_SETUP.5
  619.             *Cmd: =PJL_RESOLUTION_300 =PJL_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession300
  620.         }
  621.     }
  622. }
  623.  
  624. *%%% ======================
  625. *%%% JOB_SETUP.6
  626. *%%% OpenDataSource(0x48)
  627. *%%%     SourceType(ubyte) & DataOrg(ubyte)
  628. *%%%     136(0x88)           130(0x82)
  629. *Command: CmdStartDoc
  630. {
  631.     *Order: JOB_SETUP.6
  632.     *Cmd: =ubyte "<00>" =attr_ubyte =SourceType =ubyte "<01>" =attr_ubyte =DataOrg =OpenDataSource
  633. }
  634.  
  635. *%%% ======================
  636. *%%% PAGE_FINISH
  637. *%%% ======================
  638.  
  639. *%%% ======================
  640. *%%% PAGE_FINISH.3
  641. *Command: CmdEndPage
  642. {
  643.     *Order: PAGE_FINISH.1
  644.     *Cmd: =uint16 =NumOfCopy =attr_ubyte =PageCopies =EndPage
  645. }
  646.  
  647. *%%% ======================
  648. *%%% JOB_FINISH.1
  649. *%%% CmdEndJob
  650. *Command: CmdEndJob
  651. {
  652.     *Order: JOB_FINISH.1
  653.     *Cmd: =CloseDataSource =EndSession =PJL_ENDJOB
  654. }
  655.  
  656. *%%% ======================
  657. *%%% PAGE_SETUP
  658. *%%% ======================
  659.  
  660. *%%% ======================
  661. *%%% PAGE_SETUP.1
  662. *%%% BeginPage(0x43)
  663. *%%%     Orientation(40), MediaSize(37), MediaSource(38)
  664. *%%%     ubyte            ubyte          ubyte
  665.  
  666. *BlockMacro: PaperConstraints
  667. {
  668.     *Constraints: LIST(InputBin.Option3, InputBin.Option4, InputBin.Option5)
  669. }
  670.  
  671. *Feature: PaperSize
  672. {
  673.     *rcNameID: =PAPER_SIZE_DISPLAY
  674.     *DefaultOption: LETTER
  675.     *Option: A5
  676.     {
  677.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *% rcid 1000
  678.         *Constraints: InputBin.Option6
  679.         *PageProtectMem: 2125
  680.         *switch: Orientation
  681.         {
  682.             *case: PORTRAIT
  683.             {
  684.                 *PrintableArea: PAIR(6396, 9372)
  685.                 *PrintableOrigin: PAIR(300, 300)
  686.                 *CursorOrigin: PAIR(300, 160)
  687.                 *Command: CmdSelect
  688.                 {
  689.                     *Order: PAGE_SETUP.1
  690.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  691. +                         =ubyte =eA5Paper =attr_ubyte =MediaSize =BeginPage
  692. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((160*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  693.                 }
  694.             }
  695.             *case: LANDSCAPE_CC90
  696.             {
  697.                 *PrintableArea: PAIR(6396, 9324)
  698.                 *PrintableOrigin: PAIR(300, 300)
  699.                 *CursorOrigin: PAIR(260, 9624)
  700.                 *Command: CmdSelect
  701.                 {
  702.                     *Order: PAGE_SETUP.1
  703.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  704. +                         =ubyte =eA5Paper =attr_ubyte =MediaSize =BeginPage
  705. +                         =sint16_xy %l{((260*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  706.                 }
  707.             }
  708.         }
  709.     }
  710.     *Option: LETTER
  711.     {
  712.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *% rcid 1000
  713.         *Constraints: InputBin.Option6
  714.         *PageProtectMem: 4109
  715.         *switch: Orientation
  716.         {
  717.             *case: PORTRAIT
  718.             {
  719.                 *PrintableArea: PAIR(9600, 12600)
  720.                 *PrintableOrigin: PAIR(300, 300)
  721.                 *CursorOrigin: PAIR(300, 160)
  722.                 *Command: CmdSelect
  723.                 {
  724.                     *Order: PAGE_SETUP.1
  725.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  726. +                         =ubyte =eLetterPaper =attr_ubyte =MediaSize =BeginPage
  727. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((160*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  728.                 }
  729.             }
  730.             *case: LANDSCAPE_CC90
  731.             {
  732.                 *PrintableArea: PAIR(9760, 12600)
  733.                 *PrintableOrigin: PAIR(200, 300)
  734.                 *CursorOrigin: PAIR(200, 12900)
  735.                 *Command: CmdSelect
  736.                 {
  737.                     *Order: PAGE_SETUP.1
  738.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  739. +                         =ubyte =eLetterPaper =attr_ubyte =MediaSize =BeginPage
  740. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  741.                 }
  742.             }
  743.         }
  744.     }
  745.     *Option: LEGAL
  746.     {
  747.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  748.         *Constraints: InputBin.Option6
  749.         *PageProtectMem: 5230
  750.         *switch: Orientation
  751.         {
  752.             *case: PORTRAIT
  753.             {
  754.                 *PrintableArea: PAIR(9600, 16200)
  755.                 *PrintableOrigin: PAIR(300, 300)
  756.                 *CursorOrigin: PAIR(300, 160)
  757.                 *Command: CmdSelect
  758.                 {
  759.                     *Order: PAGE_SETUP.1
  760.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  761. +                         =ubyte =eLegalPaper =attr_ubyte =MediaSize =BeginPage
  762. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((160*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  763.                 }
  764.             }
  765.             *case: LANDSCAPE_CC90
  766.             {
  767.                 *PrintableArea: PAIR(9760, 16200)
  768.                 *PrintableOrigin: PAIR(200, 300)
  769.                 *CursorOrigin: PAIR(200, 16500)
  770.                 *Command: CmdSelect
  771.                 {
  772.                     *Order: PAGE_SETUP.1
  773.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  774. +                         =ubyte =eLegalPaper =attr_ubyte =MediaSize =BeginPage
  775. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  776.                 }
  777.             }
  778.         }
  779.     }
  780.     *Option: EXECUTIVE
  781.     {
  782.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  783.         *Constraints: InputBin.Option6
  784.         *PageProtectMem: 4109
  785.         *switch: Orientation
  786.         {
  787.             *case: PORTRAIT
  788.             {
  789.                 *PrintableArea: PAIR(8100, 12000)
  790.                 *PrintableOrigin: PAIR(300, 300)
  791.                 *CursorOrigin: PAIR(300, 160)
  792.                 *Command: CmdSelect
  793.                 {
  794.                     *Order: PAGE_SETUP.1
  795.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  796. +                         =ubyte =eExecPaper =attr_ubyte =MediaSize =BeginPage
  797. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((160*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  798.                 }
  799.             }
  800.             *case: LANDSCAPE_CC90
  801.             {
  802.                 *PrintableArea: PAIR(8180, 12000)
  803.                 *PrintableOrigin: PAIR(220, 300)
  804.                 *CursorOrigin: PAIR(200, 12300)
  805.                 *Command: CmdSelect
  806.                 {
  807.                     *Order: PAGE_SETUP.1
  808.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  809. +                         =ubyte =eExecPaper =attr_ubyte =MediaSize =BeginPage
  810. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  811.                 }
  812.             }
  813.         }
  814.     }
  815.  
  816.     *Option: A4
  817.     {
  818.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1008
  819.         *Constraints: InputBin.Option6
  820.         *PageProtectMem: 4249
  821.         *switch: Orientation
  822.         {
  823.             *case: PORTRAIT
  824.             {
  825.                 *PrintableArea: PAIR(9352, 13400)
  826.                 *PrintableOrigin: PAIR(260, 300)
  827.                 *CursorOrigin: PAIR(260, 160)
  828.                 *Command: CmdSelect
  829.                 {
  830.                     *Order: PAGE_SETUP.1
  831.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  832. +                         =ubyte =eA4Paper =attr_ubyte =MediaSize =BeginPage
  833. +                         =sint16_xy %l{((260*TextXRes)/1200)}%l{((160*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  834.                 }
  835.             }
  836.             *case: LANDSCAPE_CC90
  837.             {
  838.                 *PrintableArea: PAIR(9424, 13428)
  839.                 *PrintableOrigin: PAIR(200, 300)
  840.                 *CursorOrigin: PAIR(200, 13728)
  841.                 *Command: CmdSelect
  842.                 {
  843.                     *Order: PAGE_SETUP.1
  844.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  845. +                         =ubyte =eA4Paper =attr_ubyte =MediaSize =BeginPage
  846. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  847.                 }
  848.             }
  849.         }
  850.     }
  851.  
  852.     *Option: B5
  853.     {
  854.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  855.         *PageProtectMem: 3198
  856.         *Constraints: InputBin.Option6
  857.         *switch: Orientation
  858.         {
  859.             *case: PORTRAIT
  860.             {
  861.                 *PrintableArea: PAIR(7964, 11714)
  862.                 *PrintableOrigin: PAIR(340, 152)
  863.                 *CursorOrigin: PAIR(200, 152)
  864.                 *Command: CmdSelect
  865.                 {
  866.                     *Order: PAGE_SETUP.1
  867.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  868. +                         =ubyte =eJB5Paper =attr_ubyte =MediaSize =BeginPage
  869. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((152*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  870.                 }
  871.             }
  872.             *case: LANDSCAPE_CC90
  873.             {
  874.                 *PrintableArea: PAIR(8104, 11624)
  875.                 *PrintableOrigin: PAIR(260, 240)
  876.                 *CursorOrigin: PAIR(200, 11904)
  877.                 *Command: CmdSelect
  878.                 {
  879.                     *Order: PAGE_SETUP.1
  880.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  881. +                         =ubyte =eJB5Paper =attr_ubyte =MediaSize =BeginPage
  882. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((280*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  883.                 }
  884.             }
  885.         }
  886.     }
  887.     *Option: ENV_10
  888.     {
  889.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1019
  890.         *InsertBlock: =PaperConstraints
  891.         *Constraints: Duplex.VERTICAL
  892.         *Constraints: Duplex.HORIZONTAL
  893.         *PageProtectMem: 4109
  894.         *switch: Orientation
  895.         {
  896.             *case: PORTRAIT
  897.             {
  898.                 *PrintableArea: PAIR(4346, 10800)
  899.                 *PrintableOrigin: PAIR(300, 300)
  900.                 *switch: Resolution
  901.                 {
  902.                     *case: Option1
  903.                     {
  904.                         *PrintableArea: PAIR(4344, 10800)
  905.                     }
  906.                 }
  907.                 *CursorOrigin: PAIR(300, 180)
  908.                 *Command: CmdSelect
  909.                 {
  910.                     *Order: PAGE_SETUP.1
  911.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  912. +                         =ubyte =eCOM10Envelope =attr_ubyte =MediaSize =BeginPage
  913. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((180*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  914.                 }
  915.             }
  916.             *case: LANDSCAPE_CC90
  917.             {
  918.                 *PrintableArea: PAIR(4476, 10800)
  919.                 *PrintableOrigin: PAIR(200, 300)
  920.                 *CursorOrigin: PAIR(200, 11100)
  921.                 *Command: CmdSelect
  922.                 {
  923.                     *Order: PAGE_SETUP.1
  924.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  925. +                         =ubyte =eCOM10Envelope =attr_ubyte =MediaSize =BeginPage
  926. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  927.                 }
  928.             }
  929.         }
  930.     }
  931.     *Option: ENV_DL
  932.     {
  933.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1026
  934.         *InsertBlock: =PaperConstraints
  935.         *Constraints: Duplex.VERTICAL
  936.         *Constraints: Duplex.HORIZONTAL
  937.         *PageProtectMem: 4109
  938.         *switch: Orientation
  939.         {
  940.             *case: PORTRAIT
  941.             {
  942.                 *PrintableArea: PAIR(4576, 9792)
  943.                 *PrintableOrigin: PAIR(300, 300)
  944.                 *CursorOrigin: PAIR(300, 180)
  945.                 *Command: CmdSelect
  946.                 {
  947.                     *Order: PAGE_SETUP.1
  948.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  949. +                         =ubyte =eDLEnvelope =attr_ubyte =MediaSize =BeginPage
  950. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((180*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  951.                 }
  952.             }
  953.             *case: LANDSCAPE_CC90
  954.             {
  955.                 *PrintableArea: PAIR(4796, 9792)
  956.                 *PrintableOrigin: PAIR(200, 300)
  957.                 *CursorOrigin: PAIR(200, 10092)
  958.                 *Command: CmdSelect
  959.                 {
  960.                     *Order: PAGE_SETUP.1
  961.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  962. +                         =ubyte =eDLEnvelope =attr_ubyte =MediaSize =BeginPage
  963. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  964.                 }
  965.             }
  966.         }
  967.     }
  968.     *Option: ENV_C5
  969.     {
  970.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1027
  971.         *InsertBlock: =PaperConstraints
  972.         *Constraints: Duplex.VERTICAL
  973.         *Constraints: Duplex.HORIZONTAL
  974.         *PageProtectMem: 4109
  975.         *switch: Orientation
  976.         {
  977.             *case: PORTRAIT
  978.             {
  979.                 *PrintableArea: PAIR(7036, 10214)
  980.                 *PrintableOrigin: PAIR(300, 300)
  981.                 *switch: Resolution
  982.                 {
  983.                     *case: Option2
  984.                     {
  985.                         *PrintableArea: PAIR(7036, 10212)
  986.                     }
  987.                 }
  988.                 *CursorOrigin: PAIR(300, 180)
  989.                 *Command: CmdSelect
  990.                 {
  991.                     *Order: PAGE_SETUP.1
  992.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  993. +                         =ubyte =eC5Envelope =attr_ubyte =MediaSize =BeginPage
  994. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((180*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  995.                 }
  996.             }
  997.             *case: LANDSCAPE_CC90
  998.             {
  999.                 *PrintableArea: PAIR(7116, 10224)
  1000.                 *PrintableOrigin: PAIR(240, 300)
  1001.                 *CursorOrigin: PAIR(200, 10524)
  1002.                 *Command: CmdSelect
  1003.                 {
  1004.                     *Order: PAGE_SETUP.1
  1005.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  1006. +                         =ubyte =eC5Envelope =attr_ubyte =MediaSize =BeginPage
  1007. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1008.                 }
  1009.             }
  1010.         }
  1011.     }
  1012.  
  1013.  
  1014.     *Option: ENV_MONARCH
  1015.     {
  1016.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1036
  1017.         *InsertBlock: =PaperConstraints
  1018.         *Constraints: Duplex.VERTICAL
  1019.         *Constraints: Duplex.HORIZONTAL
  1020.         *PageProtectMem: 4109
  1021.         *switch: Orientation
  1022.         {
  1023.             *case: PORTRAIT
  1024.             {
  1025.                 *PrintableArea: PAIR(4046, 8400)
  1026.                 *PrintableOrigin: PAIR(300, 300)
  1027.                 *switch: Resolution
  1028.                 {
  1029.                     *case: Option2
  1030.                     {
  1031.                         *PrintableArea: PAIR(4044, 8400)
  1032.                     }
  1033.                 }
  1034.                 *CursorOrigin: PAIR(300, 180)
  1035.                 *Command: CmdSelect
  1036.                 {
  1037.                     *Order: PAGE_SETUP.1
  1038.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1039. +                         =ubyte =eMonarchEnvelope =attr_ubyte =MediaSize =BeginPage
  1040. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((180*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1041.                 }
  1042.             }
  1043.             *case: LANDSCAPE_CC90
  1044.             {
  1045.                 *PrintableArea: PAIR(4076, 8400)
  1046.                 *PrintableOrigin: PAIR(300, 300)
  1047.                 *CursorOrigin: PAIR(200, 8700)
  1048.                 *Command: CmdSelect
  1049.                 {
  1050.                     *Order: PAGE_SETUP.1
  1051.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  1052. +                         =ubyte =eMonarchEnvelope =attr_ubyte =MediaSize =BeginPage
  1053. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1054.                 }
  1055.             }
  1056.         }
  1057.     }
  1058.     *Option: ENV_B5
  1059.     {
  1060.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  1061.         *PageProtectMem: 4109
  1062.         *InsertBlock: =PaperConstraints
  1063.         *Constraints: Duplex.VERTICAL
  1064.         *Constraints: Duplex.HORIZONTAL
  1065.         *switch: Orientation
  1066.         {
  1067.             *case: PORTRAIT
  1068.             {
  1069.                 *PrintableArea: PAIR(7716, 11368)
  1070.                 *PrintableOrigin: PAIR(300, 140)
  1071.                 *CursorOrigin: PAIR(300, 140)
  1072.                 *Command: CmdSelect
  1073.                 {
  1074.                     *Order: PAGE_SETUP.1
  1075.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1076. +                         =ubyte =eB5Envelope =attr_ubyte =MediaSize =BeginPage
  1077. +                         =sint16_xy %l{((300*TextXRes)/1200)}%l{((140*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1078.                 }
  1079.             }
  1080.             *case: LANDSCAPE_CC90
  1081.             {
  1082.                 *PrintableArea: PAIR(7776, 11208)
  1083.                 *PrintableOrigin: PAIR(240, 300)
  1084.                 *CursorOrigin: PAIR(200, 11508)
  1085.                 *Command: CmdSelect
  1086.                 {
  1087.                     *Order: PAGE_SETUP.1
  1088.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  1089. +                         =ubyte =eB5Envelope =attr_ubyte =MediaSize =BeginPage
  1090. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((300*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1091.                 }
  1092.             }
  1093.         }
  1094.     }
  1095.  
  1096.    *Option: FOLIO 
  1097.     { 
  1098.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME 
  1099.         *PrintableArea: PAIR(9600, 15200)
  1100.         *PrintableOrigin: PAIR(200, 200)
  1101.         *switch: Orientation
  1102.         {
  1103.             *case: PORTRAIT
  1104.             {
  1105.                 *CursorOrigin: PAIR(200, 200)
  1106.                 *Command: CmdSelect 
  1107.                 { 
  1108.                     *Order: JOB_SETUP.2 
  1109.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation 
  1110. +                         =ubyte "<18>" =attr_ubyte =MediaSize =BeginPage
  1111. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1112.                 } 
  1113.              } 
  1114.              *case: LANDSCAPE_CC90
  1115.              {
  1116.                 *CursorOrigin: PAIR(200, 15400)
  1117.                 *Command: CmdSelect
  1118.                 {
  1119.                     *Order: JOB_SETUP.2 
  1120.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation 
  1121. +                         =ubyte "<18>" =attr_ubyte =MediaSize =BeginPage
  1122. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1123.                 }
  1124.             }
  1125.         }
  1126.     }
  1127.  
  1128.  
  1129.     *Option: CUSTOMSIZE
  1130.     {
  1131.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME  *%  1255
  1132.         *MinSize: PAIR(3600, 6000)
  1133.         *MaxSize: PAIR(10200, 32767)
  1134.         *MaxPrintableWidth: 10200
  1135.         *MinLeftMargin: 100
  1136.         *CenterPrintable?: FALSE
  1137.         *PageProtectMem: 1692
  1138.         *switch: Orientation
  1139.         {
  1140.             *case: PORTRAIT
  1141.             {
  1142.                 *CustCursorOriginX:  %d{((PhysPaperWidth - 10200) / 2) + 300 }
  1143.                 *CustCursorOriginY:   %d{140 }
  1144.                 *CustPrintableOriginX:  %d{300 }
  1145.                 *CustPrintableOriginY:  %d{300}
  1146.                 *CustPrintableSizeX:   %d{ PhysPaperWidth - 600 }
  1147.                 *CustPrintableSizeY:  %d{ PhysPaperLength - 600 }
  1148.                 *Command: CmdSelect
  1149.                 {
  1150.                     *Order: PAGE_SETUP.1
  1151.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1152. +                         =uint16_xy %l{(PhysPaperWidth / 1200)}%l{(PhysPaperLength / 1200)} =attr_ubyte =CustomMediaSize
  1153. +                         =ubyte =eInch =attr_ubyte =CustomMediaSizeUnits =BeginPage
  1154. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1155.                 }
  1156.             }
  1157.             *case: LANDSCAPE_CC90
  1158.             {
  1159.                 *CustCursorOriginX:  %d{((PhysPaperWidth - 10200) / 2) + 200 }
  1160.                 *CustCursorOriginY:   %d{16560 }
  1161.                 *CustPrintableOriginX:  %d{200 }
  1162.                 *CustPrintableOriginY:  %d{240}
  1163.                 *CustPrintableSizeX:   %d{ PhysPaperWidth - 400 }
  1164.                 *CustPrintableSizeY:  %d{ PhysPaperLength - 480 }
  1165.                 *Command: CmdSelect
  1166.                 {
  1167.                     *Order: PAGE_SETUP.1
  1168.                     *Cmd: =ubyte =eReverseLandscape =attr_ubyte =Orientation
  1169. +                         =uint16_xy %l{(PhysPaperWidth / 1200)}%l{(PhysPaperLength / 1200)} =attr_ubyte =CustomMediaSize
  1170. +                         =ubyte =eInch =attr_ubyte =CustomMediaSizeUnits =BeginPage
  1171. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  1172.                 }
  1173.             }
  1174.         }
  1175.     }
  1176. }
  1177.  
  1178. *%%% ======================
  1179. *%%% PAGE_SETUP.2
  1180. *%%% BeginPage(0x43)
  1181. *%%%     Orientation(0x40), MediaSize(0x37), MediaSource(0x38)
  1182. *%%%     ubyte               ubyte             ubyte
  1183. *%%%     MediaSource
  1184. *Feature: InputBin{ *Option: Option1{} *Option: Option7{} *Option: UPPER{} *Option: LOWER{} *Option: MANUAL{}}
  1185. *Feature: InputBin
  1186. {
  1187.     *rcNameID: =PAPER_SOURCE_DISPLAY
  1188.     *DefaultOption: Option1
  1189.     *Option: Option1
  1190.     {
  1191.         *rcNameID: =AUTO_SELECT_DISPLAY  *% Automatically Select
  1192.         *Command: CmdSelect
  1193.         {
  1194.             *Order: PAGE_SETUP.2
  1195.             *Cmd: =ubyte =eAutoSelect =attr_ubyte =MediaSource
  1196.         }
  1197.     }
  1198.     *Option: UPPER
  1199.     {
  1200.         *rcNameID: =TRAY2_DISPLAY *% Upper Paper tray
  1201.         *Command: CmdSelect
  1202.         {
  1203.             *Order: PAGE_SETUP.2
  1204.             *Cmd: =ubyte =eUpperCassette =attr_ubyte =MediaSource
  1205.         }
  1206.     }
  1207.     *Option: MANUAL
  1208.     {
  1209.         *rcNameID: =MANUAL_FEED_TRAY1_DISPLAY *% Manual Paper feed
  1210.         *Command: CmdSelect
  1211.         {
  1212.             *Order: PAGE_SETUP.2
  1213.             *Cmd: =ubyte =eManualFeed =attr_ubyte =MediaSource
  1214.         }
  1215.     }
  1216.  
  1217.     *Option: LOWER
  1218.     {
  1219.         *rcNameID: =TRAY3_DISPLAY *% Lower Paper tray
  1220.         *Command: CmdSelect
  1221.         {
  1222.             *Order: PAGE_SETUP.2
  1223.             *Cmd: =ubyte =eLowerCassette =attr_ubyte =MediaSource
  1224.         }
  1225.     }
  1226.     *Option: Option7
  1227.     {
  1228.         *rcNameID: =TRAY1_DISPLAY  *% MP Tray
  1229.         *Command: CmdSelect
  1230.         {
  1231.             *Order: PAGE_SETUP.2
  1232.             *Cmd: =ubyte =eManualFeed =attr_ubyte =MediaSource
  1233.         }
  1234.     }
  1235. }
  1236.  
  1237.  
  1238. *%UPPER Paper Tray Constraints
  1239. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_10)
  1240. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_DL)
  1241. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_C5)
  1242. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_MONARCH)
  1243. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_B5)
  1244.  
  1245. *%LOWER Paper Tray Constraints
  1246. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_10)
  1247. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_DL)
  1248. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_C5)
  1249. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_MONARCH)
  1250. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_B5)
  1251.  
  1252.  
  1253. *%%% ======================
  1254. *%%% PAGE_SETUP.3
  1255. *%%% BeginPage(0x43)
  1256. *%%%     Orientation(0x40), MediaSize(0x37), MediaSource(0x38), MediaType
  1257. *%%%     ubyte               ubyte             ubyte
  1258. *%%%     MediaType
  1259. *Feature: MediaType
  1260. {
  1261.     *rcNameID: =MEDIA_TYPE_DISPLAY
  1262.     *DefaultOption: AutoSelect
  1263.  
  1264.     *Option: AutoSelect
  1265.     {
  1266.         *rcNameID: =AUTO_SELECT_DISPLAY
  1267.     }
  1268.     *Option: Plain
  1269.     {
  1270.         *rcNameID: =PLAIN_DISPLAY
  1271.         *Command: CmdSelect
  1272.         {
  1273.             *Order: PAGE_SETUP.3
  1274.             *Cmd: =ubyte_array =ePlain =attr_ubyte =MediaType
  1275.         }
  1276.     }
  1277.     *Option: Preprinted
  1278.     {
  1279.         *rcNameID: =PREPRINTED_DISPLAY
  1280.         *Command: CmdSelect
  1281.         {
  1282.             *Order: PAGE_SETUP.3
  1283.             *Cmd: =ubyte_array =ePreprinted =attr_ubyte =MediaType
  1284.         }
  1285.     }
  1286.     *Option: Letterhead
  1287.     {
  1288.         *rcNameID: =LETTERHEAD_DISPLAY
  1289.         *Command: CmdSelect
  1290.         {
  1291.             *Order: PAGE_SETUP.3
  1292.             *Cmd: =ubyte_array =eLetterhead =attr_ubyte =MediaType
  1293.         }
  1294.     }
  1295.     *Option: Transparency
  1296.     {
  1297.         *rcNameID: =TRANSPARENCY_DISPLAY
  1298.     *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1299.         *Command: CmdSelect
  1300.         {
  1301.             *Order: PAGE_SETUP.3
  1302.             *Cmd: =ubyte_array =eTransparency =attr_ubyte =MediaType
  1303.         }
  1304.     }
  1305.     *Option: Prepunched
  1306.     {
  1307.         *rcNameID: =PREPUNCHED_DISPLAY
  1308.         *Command: CmdSelect
  1309.         {
  1310.             *Order: PAGE_SETUP.3
  1311.             *Cmd: =ubyte_array =ePrepunched =attr_ubyte =MediaType
  1312.         }
  1313.     }
  1314.     *Option: Labels
  1315.     {
  1316.         *rcNameID: =LABELS_DISPLAY
  1317.     *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1318.         *Command: CmdSelect
  1319.         {
  1320.             *Order: PAGE_SETUP.3
  1321.             *Cmd: =ubyte_array =eLabels =attr_ubyte =MediaType
  1322.         }
  1323.     }
  1324.     *Option: Bond
  1325.     {
  1326.         *rcNameID: =BOND_DISPLAY
  1327.         *Command: CmdSelect
  1328.         {
  1329.             *Order: PAGE_SETUP.3
  1330.             *Cmd: =ubyte_array =eBond =attr_ubyte =MediaType
  1331.         }
  1332.     }
  1333.     *Option: Recycled
  1334.     {
  1335.         *rcNameID: =RECYCLED_DISPLAY
  1336.         *Command: CmdSelect
  1337.         {
  1338.             *Order: PAGE_SETUP.3
  1339.             *Cmd: =ubyte_array =eRecycled =attr_ubyte =MediaType
  1340.         }
  1341.     }
  1342.     *Option: Color
  1343.     {
  1344.         *rcNameID: =COLOR_DISPLAY
  1345.         *Command: CmdSelect
  1346.         {
  1347.             *Order: PAGE_SETUP.3
  1348.             *Cmd: =ubyte_array =eColor =attr_ubyte =MediaType
  1349.         }
  1350.     }
  1351.     *Option: CardStock
  1352.     {
  1353.         *rcNameID: =CARDSTOCK_DISPLAY
  1354.         *Command: CmdSelect
  1355.         {
  1356.             *Order: PAGE_SETUP.3
  1357.             *Cmd: =ubyte_array =eCardstock =attr_ubyte =MediaType
  1358.         }
  1359.     }
  1360.     *Option: Rough
  1361.     {
  1362.         *rcNameID: =ROUGH_DISPLAY
  1363.         *Command: CmdSelect
  1364.         {
  1365.             *Order: PAGE_SETUP.3
  1366.             *Cmd: =ubyte_array =eRough =attr_ubyte =MediaType
  1367.         }
  1368.     }
  1369. }
  1370.  
  1371. *%%% ======================
  1372. *%%% PAGE_SETUP.3
  1373. *%%% DuplexPageMode(53(0x35))
  1374. *Feature: Duplex
  1375. {
  1376.     *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  1377.     *DefaultOption: NONE
  1378.     *Option: NONE
  1379.     {
  1380.         *rcNameID: =NONE_DISPLAY
  1381.         *Command: CmdSelect
  1382.         {
  1383.             *Order: JOB_SETUP.4
  1384.             *Cmd: "@PJL SET DUPLEX=OFF<0A>"
  1385.         }
  1386.     }
  1387.     *Option: VERTICAL
  1388.     {
  1389.         *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  1390.         *Command: CmdSelect
  1391.         {
  1392.             *Order: JOB_SETUP.4
  1393.             *Cmd: "@PJL SET DUPLEX=ON<0A>@PJL SET BINDING=LONGEDGE<0A>"
  1394.         }
  1395.     }
  1396.     *Option: HORIZONTAL
  1397.     {
  1398.         *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  1399.         *Command: CmdSelect
  1400.         {
  1401.             *Order: JOB_SETUP.4
  1402.             *Cmd: "@PJL SET DUPLEX=ON<0A>@PJL SET BINDING=SHORTEDGE<0A>"
  1403.         }
  1404.     }
  1405. }
  1406.  
  1407. *%%% ======================
  1408. *%%% PAGE_SETUP.4
  1409. *%%% SetPageOrigin
  1410. *%%%     PageOrigin
  1411. *%%% SetPageScale
  1412. *Command: CmdStartPage
  1413. {
  1414.     *Order: PAGE_SETUP.4
  1415.     *Cmd: =real32_xy "<0000803f><0000803f>" =attr_ubyte =PageScale =SetPageScale
  1416. +         =ubyte "<01>" =attr_ubyte =ColorSpace =SetColorSpace
  1417. }
  1418.  
  1419. *%%% ======================
  1420. *%%% PAGE_SETUP.5
  1421. *%%% Feature
  1422. *%%% Dither
  1423. *Feature: Dither
  1424. {
  1425.     *rcNameID: =DITHER_QUALITY_DISPLAY
  1426.     *DefaultOption: HIQUALITY
  1427.     *Option: HIQUALITY
  1428.     {
  1429.         *rcNameID: =DITHER_QUALITY_HIGH_DISPLAY
  1430.         *Command: CmdSelect
  1431.         {
  1432.             *Order: PAGE_SETUP.5
  1433.             *Cmd: ""
  1434.         }
  1435.     }
  1436.     *Option: LOQUALITY
  1437.     {
  1438.         *rcNameID: =DITHER_QUALITY_LOW_DISPLAY
  1439.         *Command: CmdSelect
  1440.         {
  1441.             *Order: PAGE_SETUP.5
  1442.             *Cmd: ""
  1443.         }
  1444.     }
  1445. }
  1446.  
  1447.  
  1448. *%%% ======================
  1449. *%%% Feature
  1450. *%%% Memory
  1451. *Feature: Memory
  1452. {
  1453.     *rcNameID: =PRINTER_MEMORY_DISPLAY
  1454.     *DefaultOption: 12MB
  1455. *% 4MB Standard memory, 3 memory slots with 4, 8, 16 or 32 MB dimms avail.
  1456. *% Max memory 96 (+4 on board) = 100
  1457.         *MemConfigMB: PAIR(4, 3)
  1458.         *MemConfigMB: PAIR(8, 7)
  1459.         *MemConfigMB: PAIR(12, 10)
  1460.         *MemConfigMB: PAIR(16, 13)
  1461.         *MemConfigMB: PAIR(20, 17)
  1462.         *MemConfigMB: PAIR(24, 21)
  1463.         *MemConfigMB: PAIR(28, 24)
  1464.         *MemConfigMB: PAIR(32, 28)
  1465.         *MemConfigMB: PAIR(36, 31)
  1466.         *MemConfigMB: PAIR(40, 35)
  1467.         *MemConfigMB: PAIR(44, 39)
  1468.         *MemConfigMB: PAIR(48, 42)
  1469.         *MemConfigMB: PAIR(52, 46)
  1470.         *MemConfigMB: PAIR(56, 49)
  1471.         *MemConfigMB: PAIR(60, 52)
  1472.         *MemConfigMB: PAIR(68, 59)
  1473. }
  1474.  
  1475. *%%% ======================
  1476. *%%% Device fonts
  1477. *%%% ======================
  1478.  
  1479. *DefaultFont: =RC_FONT_COURIERR
  1480. *DefaultCTT: 0
  1481.  
  1482. *DeviceFonts: LIST(
  1483. +    =RC_FONT_ALBERTX,
  1484. +    =RC_FONT_AOLIVEB,
  1485. +    =RC_FONT_AOLIVER,
  1486. +    =RC_FONT_ARIALB,
  1487. +    =RC_FONT_ARIALI,
  1488. +    =RC_FONT_ARIALJ,
  1489. +    =RC_FONT_ARIALR,
  1490. +    =RC_FONT_COURIERB,
  1491. +    =RC_FONT_COURIERI,
  1492. +    =RC_FONT_COURIERJ,
  1493. +    =RC_FONT_COURIERR,
  1494. +    =RC_FONT_LETGOTHB,
  1495. +    =RC_FONT_LETGOTHI,
  1496. +    =RC_FONT_LETGOTHR,
  1497. +    =RC_FONT_MARGOLDR,
  1498. +    =RC_FONT_TIMESNRB,
  1499. +    =RC_FONT_TIMESNRI,
  1500. +    =RC_FONT_TIMESNRJ,
  1501. +    =RC_FONT_TIMESNRR,
  1502. +    =RC_FONT_WINGDINGS,
  1503. +    =RC_FONT_SYMBOL)
  1504.  
  1505. *TTFS: AlbertusX
  1506. {
  1507.   *TTFontName: "Albertus Extra Bold"
  1508.   *DevFontName: "Albertus Extra Bold"
  1509. }
  1510. *TTFS: AntiqueOlive
  1511. {
  1512.   *TTFontName: "Antique Olive"
  1513.   *DevFontName: "Antique Olive"
  1514. }
  1515. *TTFS: LetterGothic
  1516. {
  1517.   *TTFontName: "Letter Gothic"
  1518.   *DevFontName: "Letter Gothic"
  1519. }
  1520. *TTFS: Marigold
  1521. {
  1522.   *TTFontName: "Marigold"
  1523.   *DevFontName: "Marigold"
  1524. }
  1525.  
  1526.  
  1527. *%% =======================
  1528. *%% Optional Duplex Unit
  1529. *%% =======================
  1530. *Feature: DuplexUnit
  1531. {
  1532.     *FeatureType: PRINTER_PROPERTY
  1533.     *rcNameID: =DUPLEX_UNIT_DISPLAY
  1534.     *DefaultOption: NotInstalled
  1535.     *Option: NotInstalled
  1536.     {
  1537.         *rcNameID: =NOT_INSTALLED_DISPLAY
  1538.         *DisabledFeatures: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1539.         *Constraints: LIST(Duplex.VERTICAL,Duplex.HORIZONTAL)
  1540.     }
  1541.  
  1542.     *Option: Installed
  1543.     {
  1544.         *rcNameID: =INSTALLED_DISPLAY
  1545.     }
  1546. }
  1547.  
  1548. *Feature: TRAY3
  1549. {
  1550.     *rcNameID: =TRAY3_DISPLAY
  1551.     *FeatureType: PRINTER_PROPERTY
  1552.     *DefaultOption: FALSE
  1553.     *Option: FALSE
  1554.     {
  1555.         *rcNameID: =NOT_INSTALLED_DISPLAY       
  1556.         *Constraints: LIST(InputBin.LOWER)
  1557.  
  1558.     }
  1559.     *Option: TRUE
  1560.     {
  1561.         *rcNameID: =INSTALLED_DISPLAY
  1562.     }
  1563. }
  1564.  
  1565. *InvalidCombination: LIST(TRAY3.FALSE,InputBin.Option4)
  1566.  
  1567.  
  1568. *%% =======================
  1569. *%% Optional Hard Disk
  1570. *%% =======================
  1571. *Feature: PrinterHardDisk
  1572. {
  1573.     *rcNameID: =PRINTER_HARDDISK_DISPLAY
  1574.     *FeatureType: PRINTER_PROPERTY
  1575.     *DefaultOption: FALSE
  1576.     *Option: FALSE
  1577.     {
  1578.         *rcNameID: =NOT_INSTALLED_DISPLAY
  1579.         *DisabledFeatures: LIST(Collate)
  1580.     }
  1581.     *Option: TRUE
  1582.     {
  1583.         *rcNameID: =INSTALLED_DISPLAY
  1584.     }
  1585. }
  1586.  
  1587.  
  1588. *%%% ======================
  1589. *%%% PCL XL GPD file main
  1590. *%%% ======================
  1591.  
  1592. *%%% ======================
  1593. *%%% Global Entries
  1594. *%%% Attributes
  1595. *%%% ======================
  1596. *MasterUnits: PAIR(1200, 1200)
  1597. *CodePage: 1252
  1598. *ResourceDLL: "pclxl.dll"
  1599. *PrinterType: PAGE
  1600. *Personality: =PERSONALITY_PCLXL
  1601. *rcPersonalityID: =PERSONALITY_PCLXL_DISPLAY
  1602. *%%% *rcPrinterIconID:
  1603.  
  1604. *%%% ======================
  1605. *%%% Printing attributes
  1606. *%%% ======================
  1607. *RotateCoordinate?: TRUE
  1608. *RotateRaster?: TRUE
  1609. *RotateFont?: TRUE
  1610. *EjectPageWithFF?: FALSE
  1611.  
  1612. *TextCaps: LIST(TC_CR_ANY,TC_CR_90,TC_SF_X_YINDEP,TC_SA_CONTIN,TC_IA_ABLE,TC_UA_ABLE)
  1613. *MemoryUsage: LIST(FONT)
  1614. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  1615. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  1616. *CursorYAfterSendBlockData: AUTO_INCREMENT
  1617. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  1618. *XMoveThreshold: 0
  1619. *YMoveThreshold: 0
  1620. *XMoveUnit: 1200
  1621. *YMoveUnit: 1200
  1622.  
  1623. *%%% *MinGrayFill: 1
  1624. *%%% *MaxGrayFill: 100
  1625.  
  1626. *%%% *OutputDataFormat: H_BYTE
  1627. *%%% *OptimizeLeftBound?: TRUE
  1628.  
  1629. *%%% ======================
  1630. *%%% Color
  1631. *%%% ======================
  1632. *Feature: ColorMode
  1633. {
  1634.     *ConcealFromUI?: TRUE
  1635.     *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  1636.     *DefaultOption: Mono
  1637.     *Option: Mono
  1638.     {
  1639.         *rcNameID: =COLOR_DISPLAY
  1640.         *Color?: FALSE
  1641.         *DevNumOfPlanes: 1
  1642.         *DevBPP: 24
  1643.         *DrvBPP: 24
  1644.         *PaletteSize: 256
  1645.         *PaletteProgrammable?: FALSE
  1646.     }
  1647. }
  1648.  
  1649. *%%% ======================
  1650. *%%% TrueType fonts
  1651. *%%% ======================
  1652.  
  1653. *CharPosition: BASELINE
  1654. *TTFSEnabled?: TRUE
  1655. *FontFormat: OEM_CALLBACK
  1656. *MinFontID: 1
  1657. *MaxFontID: 65535
  1658. *MinGlyphID: 1
  1659. *MaxGlyphID: 1000
  1660.  
  1661. *%%% ======================
  1662. *%%% Cursor commands
  1663. *%%% ======================
  1664.  
  1665. *Command: CmdCR { *Cmd: =CR}
  1666. *Command: CmdLF { *Cmd: =LF}
  1667. *Command: CmdFF { *Cmd: =FF}
  1668.  
  1669. *%%% SetCursor(0x6b)
  1670. *%%%     Point(76(0x40c)) uint_16
  1671. *%%% SetCursorRel(0x6c)
  1672. *%%%     Point(76(0x40c)) uint_16
  1673. *Command: CmdXMoveAbsolute
  1674. {
  1675.     *Cmd: ""
  1676. }
  1677. *Command: CmdXMoveRelRight
  1678. {
  1679.     *Cmd: ""
  1680.     *Params: LIST(DestXRel, TextXRes)
  1681. }
  1682. *Command: CmdXMoveRelLeft
  1683. {
  1684.     *Cmd: ""
  1685.     *Params: LIST(DestXRel, TextXRes)
  1686. }
  1687. *Command: CmdYMoveAbsolute
  1688. {
  1689.     *Cmd: ""
  1690.     *Params: LIST(DestY, TextYRes)
  1691. }
  1692. *Command: CmdYMoveRelDown
  1693. {
  1694.     *Cmd: ""
  1695.     *Params: LIST(DestYRel, TextYRes)
  1696. }
  1697. *Command: CmdYMoveRelUp
  1698. {
  1699.     *Cmd: ""
  1700.     *Params: LIST(DestYRel, TextYRes)
  1701. }
  1702. *%%% *Command: CmdPushCursor
  1703. *%%% *Command: CmdPopCursor
  1704.  
  1705. *%%% =======================
  1706. *%%% Font commands
  1707. *%%% =======================
  1708.  
  1709. *Command: CmdSetFontID { *Cmd : "" }
  1710. *Command: CmdSelectFontID
  1711. {
  1712.     *Cmd: ""
  1713.     *Params: LIST(FontHeight, CurrentFontID, TextYRes)
  1714. }
  1715.  
  1716. *Command: CmdSetCharCode
  1717. {
  1718.     *Cmd : ""
  1719. }
  1720.  
  1721. *Command: CmdBoldOn
  1722. {
  1723.     *Cmd : ""
  1724. }
  1725. *Command: CmdBoldOff
  1726. {
  1727.     *Cmd : ""
  1728. }
  1729. *%%% *Command: CmdItalicOn: "=real32_xy "<3ea1e4f700000000>" =attr_ubyte =eCharShear =SetCharShear"
  1730. *%%% *Command: CmdItalicOff: "=real32_xy "<0000000000000000>" =attr_ubyte =eCharShear =SetCharShear"
  1731. *%%% *Command: CmdWhiteTextOn:
  1732. *%%% *Command: CmdWhiteTextOff:
  1733. *%%% *Command: CmdSelectSingleByteMode:
  1734. *%%% *Command: CmdSelectDoubleByteMode:
  1735. *Command: CmdSetAnyRotation
  1736. {
  1737.     *Cmd: ""
  1738.     *Params: LIST(PrintDirInCCDegrees)
  1739. }
  1740. *Command: CmdSetSimpleRotation
  1741. {
  1742.     *Cmd: ""
  1743.     *Params: LIST(PrintDirInCCDegrees)
  1744. }
  1745.